SpeedyCache\Cache D

Total Complexity 387
Dependencies 7
Dependents 3
Total lines 1,297
Lines of code 922
Logical lines of code 599
Comment lines 79
Methods 29
Properties 0

Methods 29

Method Rating Maintainability Complexity Lines of code
callback()
D
18
76 177
allowed()
D
31 51 85
create_dir()
D
32 40 83
set_file_path()
C
39 28 54
exclude_page()
B
41 24 50
is_cacheable()
B
40 23 54
create()
B
43 17 44
can_create()
A
50 15 27
ignored()
A
45 10 42
is_amp()
A
51 10 26
detect_current_page_type()
A
52 10 26
is_wptouch_smartphone()
A
51 10 24
cache_date()
S
60 7 11
fix_pre_tag()
S
54 6 20
set_content_type()
S
55 6 19
remove_url_params()
S
55 6 19
set_cdn()
S
52 5 25
is_admin()
S
54 5 20
last_error()
S
63 5 11
init()
S
53 4 23
check_html()
S
63 5 10
is_wp_login()
S
65 5 8
is_password_protected()
S
63 4 11
cdn_rewrite()
S
57 3 18
disable_emojis()
S
60 3 12
create_name()
S
63 3 9
is_commenter()
S
74 3 4
set_exclude_rules()
S
68 2 7
print_scripts_action()
S
82 1 3